package com.ayou.eggguard.farm.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class Trade {
    private Integer tradeId;
    private String buyerName;
    private String buyerContact;
    private String buyerAddress;
    private int deposit;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime orderDate;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime deliveryDate;
    private String deliveryAddress;
    private String consignee;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime checkoutTime;
    private String checkoutWay;
    private String orderNumber;
}
